package com.scs.application.test;

/**
 * @ Author     ：wyt
 * @ Date       ：Created in 16:06 2020/10/31
 * @ Description：
 */
public class pRINTtEST {
    public static void main(String[] args) {
        //0000000000000F40004681360000000000000

//        strNew=strNew.replaceAll("0+$", "");

        String rfid = new String("0000000000000F40004681360000000000000");

        int f4Index = rfid.lastIndexOf("F4");
        System.out.println(rfid);
        rfid = rfid.substring(f4Index,rfid.length());
        System.out.println(rfid);
        rfid=rfid.substring(0,11);


        System.out.println(rfid);

    }
}
